vcComponentFlowProxy

vcComponentFlowProxy gives information about components attempting to enter a flow proxy, and then routes components by testing the available capacity of connected behaviors.

See in: Overview

Module: vcBehaviors

Parent: vcFlow

Children -

Referenced by: vcRoutingRule.FlowProxy

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
ComponentSignalvcComponentSignalRWGets or sets the signal used for signaling what component has been transferred into proxy.
See more
This property and PortSignal should be used to determine what and where a component has entered the proxy. Can be None.
DynamicConnectionsBooleanRWGets or sets a value which defines if the connectors of proxy are dynamic. That is, connections will be established during a simulation by using a Python script or command.
InternalConnectorCountIntegerRGets the number of connectors in proxy.
See more
An internal connector is always paired with an external connector, so this count will match the count for the proxy's external connectors.
PortSignalvcIntegerSignalRWGets or sets the signal used for signaling which connector a component used to enter proxy. The value is the index position of the connector in the proxy's list of connectors. Can be None.
RetainOffsetBooleanRWGets or sets the value for retain offset.

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
connectInternallyNoneInteger index,
vcConnector OR None connector
Connects an internal connector at a given index in proxy to a given connector.
See more
Parameters:
index (Integer): Index of the internal connector.
connector (vcConnector): The connector to connect to.

Exceptions:
IndexError: When index is out of range.
createConnectorvcConnectorNoneCreates a new connector in proxy. This creates a pair of internal and external connectors. Returns the newly created vcConnector.
deleteConnectorNoneInteger indexDeletes a connector at a given index from proxy. This deletes a pair of internal and external connectors.
See more
Parameters:
index (Integer): Index of the internal connector.

Exceptions:
IndexError: When index is out of range.
getInternalConnectorvcConnectorInteger indexReturns an internal connector at a given index in proxy.
See more
Parameters:
index (Integer): Index of the internal connector.

Exceptions:
IndexError: When index is out of range.

Returns:
vcConnector: The found connector.
resetConnectorPortNoneInteger indexResets a connector at a given index in proxy, thereby disconnecting the connector from all of its connections.
See more
Parameters:
index (Integer): Index of the internal connector.

Exceptions:
IndexError: When index is out of range.